﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Concert.Musique
{
    public class Venue
    {
        #region Champs

        private string _id;
        private string _name;
        private Location _uneLocation;
        #endregion

        #region Proprietés

        public string id
        {
             get { return _id; }
             set { _id = value; }
        }

        public string name
        {
             get { return _name; }
             set { _name = value; }
        }

        public Location theLocation
        {
            get { return _uneLocation; }
            set { _uneLocation = value; }
        }
        #endregion

        #region Constructeurs
        public Venue()
        {
        }

        public Venue(string id, string nom)
        {
            this.id = id;
            this.name = nom;
        }

        public Venue(string id, string nom, Location uneLocation)
        {
            this.id = id;
            this.name = nom;
            this.theLocation = uneLocation;
        }
        #endregion

        #region Méthodes
        public override string ToString()
        {
            return name;
        }

        public void addUneLocation(Location uneLocation)
        {
        }

        public Location getTheLocation()
        {
            return theLocation;
        }
        #endregion



    }
}
